<div class="row" style="padding:5px;">
	<div class="col-lg-12">
		<table class="layui-table" lay-skin="line">
		  <thead>
			<tr>
			  <th>对话内容</th>
			  <th>匹配知识库标题</th>
			  <th style="width:10%" nowrap>是否匹配知识库</th>
			  <th style="width:10%" nowrap>是否匹配正确</th>
			  <th style="width:5%" nowrap>匹配数量</th>
			  <th style="width:5%" nowrap>标记</th>
			  <th style="width:10%" nowrap>对话时间</th>
			  <th style="width:1%" nowrap>操作</th>
			</tr> 
		  </thead>
		  <tbody>
		  	<#if historyList?? && historyList.content??>
		  	<#list historyList.content as userinput>
			<tr>
			  <td class="ukefu_topic_title">
			  <span title="${(userinput.message!'')?no_esc}">
			   <#if (userinput.message?? && userinput.message?length gt 30)>${(userinput.message!'')?substring(0,30)?no_esc}...<#else>${(userinput.message!'')?no_esc}</#if>
			  </span>
			  </td>
			  <td class="ukefu_topic_title">
		   		<span title="${(userinput.topictitle!'')?no_esc}">
			    <#if (userinput.topictitle?? && userinput.topictitle?length gt 30)>${(userinput.topictitle!'')?substring(0,30)?no_esc}...<#else>${(userinput.topictitle!'')?no_esc}</#if>
			    </span>
			  </td>
			  <td><#if userinput.topic><i class="layui-icon" style="color: ${systemConfig.styleColor!'#32c24d'}">&#xe605;</i></#if></td>
		      <td><#if userinput.correct><i class="layui-icon" style="color: ${systemConfig.styleColor!'#32c24d'}">&#xe605;</i></#if></td>
			  <td>${userinput.matchnum!'0'}</td>
			  <td style="width:5%">
			  <#if userinput.tagget==1>正确<#elseif userinput.tagget==2>错误</#if>
			  </td>
			  <td  style="width:10%" nowrap>
					<#if userinput.createtime??>${userinput.createtime}</#if></td>
			  </td>
			  <td style="white-space: nowrap;width:1%;">
		  			<a href="/apps/xiaoe/history/check.html?id=${userinput.id!''}&p=<#if historyList??>${historyList.number+1}<#else>0</#if><#if tagget??>&tagget=${tagget!''}<#elseif correct?? && correct>&correct=${correct!''}<#elseif check?? && check>&check=${check!''}<#elseif matchnum && matchnum==0>&matchnum=${matchnum!''}</#if>" data-toggle="tip" data-title="请确认是否测试此对话？">
		  				<i class="layui-icon">&#xe628;</i> 
			  			测试
			  		</a>
			  		<#if userinput.tagget==2 || userinput.tagget==0>
			  		<a href="/apps/xiaoe/history/tagget.html?id=${userinput.id!''}&tagge=1&p=<#if historyList??>${historyList.number+1}<#else>0</#if><#if tagget??>&tagget=${tagget!''}<#elseif correct?? && correct>&correct=${correct!''}<#elseif check?? && check>&check=${check!''}<#elseif matchnum && matchnum==0>&matchnum=${matchnum!''}</#if>" data-toggle="tip" data-title="请确认是否标记正确此对话？">
			  			<i class="layui-icon">&#xe600;</i> 
			  			正确
			  		</a>
			  		</#if>
			  		<#if userinput.tagget==1 || userinput.tagget==0>
			  		<a href="/apps/xiaoe/history/tagget.html?id=${userinput.id!''}&tagge=2&p=<#if historyList??>${historyList.number+1}<#else>0</#if><#if tagget??>&tagget=${tagget!''}<#elseif correct?? && correct>&correct=${correct!''}<#elseif check?? && check>&check=${check!''}<#elseif matchnum && matchnum==0>&matchnum=${matchnum!''}</#if>" data-toggle="tip" data-title="请确认是否标记错误此对话？">
			  			<i class="layui-icon">&#xe600;</i> 
			  			错误
			  		</a>
			  		</#if>
			  		<#if userinput.tagget!=0>
			  		<a href="/apps/xiaoe/history/tagget.html?id=${userinput.id!''}&tagge=0&p=<#if historyList??>${historyList.number+1}<#else>0</#if><#if tagget??>&tagget=${tagget!''}<#elseif correct?? && correct>&correct=${correct!''}<#elseif check?? && check>&check=${check!''}<#elseif matchnum && matchnum==0>&matchnum=${matchnum!''}</#if>" data-toggle="tip" data-title="请确认是否取消标记此对话？">
			  			<i class="layui-icon">&#xe600;</i> 
			  			取消标记
			  		</a>
			  		</#if>
			  </td>
			</tr>
			</#list>
			</#if>
		  </tbody>
		</table>
	</div> 	   
</div>
<div class="row" style="padding:5px;">
	<div class="col-lg-12" id="page" style="text-align:center;"></div>
</div>